
package tests.laurens;

import java.awt.Point;


/**
 * @author Laurens Andriessen
 * @version 1.0
 */
public class AngleTest {

	/**
	 * 
	 * @author Laurens Andriessen
	 * @param args
	 */
	public static void main(String[] args) {
		Point start = new Point(0, 0);
		Point endLoc = new Point(20, 10);
		System.out.println((90 - (Math.toDegrees(Math.atan2(endLoc.getY() - start.getY(), endLoc.getX() - start.getX())))));
	}

}
